<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="keywords" content="">
    <meta name="description" content="mezz">
    <meta name="author" content="mezz">
    <link rel="shortcut icon" href="images/icon.png">
    <link rel="stylesheet" href="css/ui.css">
    <script src="js/jquery.js"></script>
    <script src="js/my_module.js"></script>
    <script src="js/ui.js"></script>
    <script src="js/payment.js"></script>
    <title></title>
</head>

<body class="mallview">
    <header>
        <div class="goback" onclick="history.go(-1)"></div>
        <div class="title">在线预定</div>
        <div class="right"></div>
    </header>
    <div class="mainbox">
        <div class="deliverbox rhoose active">
            <p>
                <input type="hidden" id="shid">
                <span id="shouhuoren"></span>
                <span id="shphone"></span>
            </p>
            <p>
                <span id="shdi"></span>
            </p>
        </div>
        <div class="changeaddr"></div>
        <!-- <div class="payway">
            <div class="rhoose">
                <span class="pw1"></span>微信支付</div>
            <div class="rhoose">
                <span class="pw2"></span>支付宝支付</div>
            <div class="rhoose">
                <span class="pw3"></span>财付通支付</div>
            <div class="rhoose">
                <span class="pw4"></span>QQ钱包支付</div>
        </div> -->
    </div>
    <footer>
        <div class="totalprice">应付金额：
            <font>¥
                <span id="tiaozhuanprice"></span>
            </font>
        </div>
        <button class="pay" id="lijibaoming">立即报名</button>
    </footer>
    <div class="dialog deliverJB">
        <div class="hd">选择配送信息</div>
        <div class="close"></div>
        <div class="bd">
            <label for="psname">
                <input type="text" id="psname" class="zz">
                <span>收货人名称</span>
                <span class="cc" style="color: red;" id="wapsname"></span>
            </label>
            <label for="psphone">
                <input type="text" id="psphone" class="zz">
                <span>收货人电话</span>
                <span class="cc" style="color: red;" id="wapsphone"></span>
            </label>
            <label for="psaddress">
                <input type="text" id="psaddress" class="zz">
                <span>收货人地址</span>
                <span class="cc" style="color: red;" id="wapsaddress"></span>
            </label>
        </div>
        <div class="ft">
            <button class="ok" id="savemessage">确定</button>
        </div>
    </div>
    <div class="opcy"></div>
</body>
<script>
    $(function () {
        $('.changeaddr').click(function () {
            $('.deliverJB,.opcy').fadeIn();
        });

        $('.payway .rhoose').click(function () {
            $('.pay').removeAttr('disabled');
        })

        $('.pay').click(function () {
            setTimeout(function () {
                location.href = 'shouji.html';
            }, 4301)
        })
        //        checkpay = function(){
        //            for(let i=0;i<$('.deliverbox').length;i++){
        //                if($('.payway .rhoose').eq(i).hasClass('active')){
        //                    return true
        //                }
        //            }
        //            return false;
        //        }
    })
</script>

</html>